package com.niit.project.service;

import com.niit.project.entity.Page;
import com.niit.project.entity.UserGoods;

import java.util.List;

public interface UserGoodsService {
    public List<UserGoods> showAllByPage(Page page);
    public int deleteGoods(int id);
    public int addGoods(UserGoods userGoods);
    public UserGoods selectGoodsById(int id);

    public int modifyGoods(UserGoods userGoods);

    public UserGoods showSelectSearch(String keyword);
}
